Component org.nuxeo.ecm.quota.listeners
In bundle org.nuxeo.ecm.quota.core
Contributions
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.quota.listeners">
<extension target="org.nuxeo.ecm.core.event.EventServiceComponent"
point="listener">
<listener name="quotaStatsListener" async="false" postCommit="false"
class="org.nuxeo.ecm.quota.QuotaStatsListener" order="100">
<event>documentCreated</event>
<event>aboutToRemove</event>
<event>documentCreatedByCopy</event>
<event>documentMoved</event>
<event>documentModified</event>
<event>beforeDocumentModification</event>
<event>aboutToRemoveVersion</event>
<event>lifecycle_transition_event</event>
<event>documentCheckedIn</event>
<event>documentCheckedOut</event>
<event>documentRestored</event>
<event>beforeRestoringDocument</event>
</listener>
<listener name="quotaProcessor" async="true"
class="org.nuxeo.ecm.quota.size.QuotaComputerProcessor" order="100">
<event>quotaUpdateNeeded</event>
</listener>
<listener name="quotaUserWorkspaceSetter" async="false"
class="org.nuxeo.ecm.quota.QuotaUserWorkspaceListener" order="110">
<event>userWorkspaceCreated</event>
</listener>
</extension>
<extension target="org.nuxeo.ecm.core.work.service" point="queues">
<queue id="quota">
<name>Quota updater queue</name>
<maxThreads>1</maxThreads>
<category>quotaProcessor</category>
<clearCompletedAfterSeconds>3600</clearCompletedAfterSeconds>
</queue>
</extension>
</component>